﻿<UserControl x:Class="CodeStash.Addin.Controls.AsyncBusyUserControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="clr-namespace:CodeStash.Addin.Controls"
    Height="Auto" 
    Width="Auto" 
    HorizontalAlignment="Stretch" 
    VerticalAlignment="Stretch">


 



    <Border Background="White" BorderThickness="1" BorderBrush="Black">

        <Grid Margin="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" 
              Background="Transparent">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>



            <Border Background="Black"
                    Grid.Row="0"
                    Margin="-1"
                    BorderThickness="1"
                    BorderBrush="Black"
                    Height="30">

                <Label x:Name="lblWait"
                       Content="Please wait"
                       HorizontalContentAlignment="Left"
                       VerticalContentAlignment="Center"
                       Padding="0"
                       Margin="5"
                       Foreground="White"
                       FontWeight="Bold"
                       HorizontalAlignment="Left" />
            </Border>


            <Viewbox Width="60"
                     Height="60" 
                     Grid.Row="1"
                     VerticalAlignment="Center"
                     HorizontalAlignment="Center">
                <controls:CircularProgressBar  />
            </Viewbox>



        </Grid>
    </Border>

</UserControl>
